package com.leo;

import com.gluonhq.richtextarea.RichTextArea;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

/**
 * @author wangss
 * @date 2022/10/13 20:43
 * @description
 **/
public class RichTextApplication extends Application {

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        RichTextArea editor = new RichTextArea();
        BorderPane root = new BorderPane(editor);
        Scene scene = new Scene(root, 800, 600);
        primaryStage.setScene(scene);
        primaryStage.show();
    }
}
